package com.blog.admin.bean;

import java.util.ArrayList;
import java.util.List;


public class User{
    private Integer id;

    private String userName;

    private String password;
    
    private List<Role> roleList;
    
    private List<Menu> menuList;
    
    private List<String> shiroRoleList; //shiro 角色属性
    
	public List<Role> getRoleList() {
		return roleList;
	}

	public void setRoleList(List<Role> roleList) {
		this.roleList = roleList;
	}

	public List<Menu> getMenuList() {
		return menuList;
	}

	public void setMenuList(List<Menu> menuList) {
		this.menuList = menuList;
	}

	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

	public List<String> getShiroRoleList() {
		return shiroRoleList;
	}

	public void setShiroRoleList(List<String> shiroRoleList) {
		this.shiroRoleList = shiroRoleList;
	}
    
}